package com.yl.users.entity

import com.baomidou.mybatisplus.annotation.IdType
import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableId
import com.baomidou.mybatisplus.annotation.TableName

@TableName("sys_company_permissions")
data class SysCompanyPermissions(

    /**
     * id
     */
    @TableId(value = "id",type = IdType.AUTO)
    var id: Long,

    /**
     * sys_permissions id
     */
    @TableField("permissions_id")
    var permissionsId: Long? = null,

    /**
     * 公司id
     */
    @TableField("company_id")
    var companyId: Long? = null,

    @TableField(exist = false)
    var superId: Long? = null,

    @TableField(exist = false)
    var permissionsName: String? = null,

    @TableField(exist = false)
    var isCheck: Boolean? = null
)
